package com.sjy.ylxt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sjy.ylxt.entity.basic.ResultBody;
import com.sjy.ylxt.entity.domain.YlxtAdmin;
import com.sjy.ylxt.entity.dto.AddAdminDTO;
import com.sjy.ylxt.entity.dto.QueryAdminDTO;

/**
* @Author: 史俊颖
* @CreateTime: 2024-12-12
* @Description: ${description}
*/
public interface YlxtAdminService extends IService<YlxtAdmin> {

    int deleteByPrimaryKey(Long id);

    int insert(YlxtAdmin record);

    int insertSelective(YlxtAdmin record);

    YlxtAdmin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(YlxtAdmin record);

    int updateByPrimaryKey(YlxtAdmin record);

    ResultBody<?> addAdmin(AddAdminDTO addAdminDTO);

    ResultBody<?> queryAdmin(Integer pageNum,Integer pageSize);

    ResultBody<?> disable(String id);

    ResultBody<?> enable(String id);

    ResultBody<?> detail(String id);
}
